//
//  AppDelegate.h
//  Documents+
//
//  Created by Alex Di Mango on 17/09/12.
//  Copyright (c) 2012 Alex Di Mango. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (readonly, retain, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, retain, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, retain, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

@property (nonatomic, retain) NSURL *uploadDocumentPath;


- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;

+ (NSDateFormatter*)defaultDateFormatter;
+ (NSDateFormatter*)WSDateFormatter;


@end
